import request from '@/utils/request'
import { praseStrEmpty } from "@/utils/enjoy";



// 查询用户企业信息
export function getMyTenantProfile() {
  return request({
    url: '/system/platform/tenant/getMyTenantInfo',
    method: 'get'
  })
}

// 修改用户企业信息
export function updateMyTenantProfile(data) {
  return request({
    url: '/system/platform/tenant/edit',
    method: 'put',
    data: data
  })
}


// 企业logo上传
export function uploadTenantAvatar(data) {
  return request({
    url: '/system/platform/tenant/avatar',
    method: 'post',
    data: data
  })
}
